"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const fs_1 = __importDefault(require("fs"));
function readText(filePath) {
    try {
        return fs_1.default.readFileSync(filePath, 'utf8');
    }
    catch (e) {
        console.log('工具库 readText 读取文件失败', filePath);
        return null;
    }
}
exports.default = readText;
